import React from 'react';
import { observer } from 'mobx-react-lite';
import appStore from '@/store/app';

const Loading = observer(() => {
    return <main>{appStore.loading ? <main className='loading absolute inset-0'>loading...</main> : null}</main>;
});

export default Loading;
